package com.ruoyi.passenger.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 发票信息对象 tb_passenger_invoice_info
 * 
 * @author ruoyi
 * @date 2025-08-19
 */
public class TbPassengerInvoiceInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long invoiceId;

    /** 用户姓名 */
    @Excel(name = "用户姓名")
    private String userName;

    /** 用户手机号 */
    @Excel(name = "用户手机号")
    private String userPhone;

    /** 申请时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "申请时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date applyTime;

    /** 发票主体 */
    @Excel(name = "发票主体")
    private String invoiceSubject;

    /** 发票金额（元） */
    @Excel(name = "发票金额", readConverterExp = "元=")
    private BigDecimal invoiceAmount;

    /** 发票类型 */
    @Excel(name = "发票类型")
    private String invoiceType;

    /** 发票状态 */
    @Excel(name = "发票状态")
    private Long invoiceStatus;

    /** 发票号 */
    @Excel(name = "发票号")
    private String invoiceNumber;

    /** 快递公司 */
    @Excel(name = "快递公司")
    private String expressCompany;

    /** 邮寄时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "邮寄时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date mailTime;

    /** 快递单号 */
    @Excel(name = "快递单号")
    private String expressNumber;

    public void setInvoiceId(Long invoiceId) 
    {
        this.invoiceId = invoiceId;
    }

    public Long getInvoiceId() 
    {
        return invoiceId;
    }

    public void setUserName(String userName) 
    {
        this.userName = userName;
    }

    public String getUserName() 
    {
        return userName;
    }

    public void setUserPhone(String userPhone) 
    {
        this.userPhone = userPhone;
    }

    public String getUserPhone() 
    {
        return userPhone;
    }

    public void setApplyTime(Date applyTime) 
    {
        this.applyTime = applyTime;
    }

    public Date getApplyTime() 
    {
        return applyTime;
    }

    public void setInvoiceSubject(String invoiceSubject) 
    {
        this.invoiceSubject = invoiceSubject;
    }

    public String getInvoiceSubject() 
    {
        return invoiceSubject;
    }

    public void setInvoiceAmount(BigDecimal invoiceAmount) 
    {
        this.invoiceAmount = invoiceAmount;
    }

    public BigDecimal getInvoiceAmount() 
    {
        return invoiceAmount;
    }

    public void setInvoiceType(String invoiceType) 
    {
        this.invoiceType = invoiceType;
    }

    public String getInvoiceType() 
    {
        return invoiceType;
    }

    public void setInvoiceStatus(Long invoiceStatus) 
    {
        this.invoiceStatus = invoiceStatus;
    }

    public Long getInvoiceStatus() 
    {
        return invoiceStatus;
    }

    public void setInvoiceNumber(String invoiceNumber) 
    {
        this.invoiceNumber = invoiceNumber;
    }

    public String getInvoiceNumber() 
    {
        return invoiceNumber;
    }

    public void setExpressCompany(String expressCompany) 
    {
        this.expressCompany = expressCompany;
    }

    public String getExpressCompany() 
    {
        return expressCompany;
    }

    public void setMailTime(Date mailTime) 
    {
        this.mailTime = mailTime;
    }

    public Date getMailTime() 
    {
        return mailTime;
    }

    public void setExpressNumber(String expressNumber) 
    {
        this.expressNumber = expressNumber;
    }

    public String getExpressNumber() 
    {
        return expressNumber;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("invoiceId", getInvoiceId())
            .append("userName", getUserName())
            .append("userPhone", getUserPhone())
            .append("applyTime", getApplyTime())
            .append("invoiceSubject", getInvoiceSubject())
            .append("invoiceAmount", getInvoiceAmount())
            .append("invoiceType", getInvoiceType())
            .append("invoiceStatus", getInvoiceStatus())
            .append("invoiceNumber", getInvoiceNumber())
            .append("expressCompany", getExpressCompany())
            .append("mailTime", getMailTime())
            .append("expressNumber", getExpressNumber())
            .toString();
    }
}
